import Layout from '@/views/layout/Layout'

const route = {
  path: '/department',
  redirect: '/department/list',
  component: Layout,
  alwaysShow: false,
  meta: {
    title: '部门管理',
    roles: ['0020000'],
    icon: 'menu'
  },
  children: [
    {
      path: 'list',
      component: () => import('@/views/sys/department/list'),
      name: 'DepartmentList',
      meta: { title: '部门列表', roles: ['0020100'] }
    }
  ]
}

export default route
